<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="com.baoku.wap.dao.*"  %>
<%@ page import="com.baoku.wap.entity.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<% int msg ;
try{
 msg = Integer.parseInt(request.getParameter("msg"));
}catch (Exception e){
 msg = 0;
}
%>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Cache-control" content="no-cache"/>
<style type="text/css">
* { font-size:12px; }
body, div, p, img, form, input { margin:0; padding:0; line-height:22px; font-size:13px;}
a { text-decoration:none; }
a:hover, a:active, a:focus { text-decoration:underline; }
input { vertical-align:middle; line-height:20px; }
.logo{ height:25px;background:#CED7E6}
.login_nav { padding:2px 0 2px 5px; color:#fff; background:#811C40; border-top:1px solid #681432; border-bottom:1px solid #681432; }
.err{ background:#EFEDD4; padding:3px 0 3px 5px;}
.inner_help a,.err a{ color:#065894;}
.inner_help{ background:#EEF5FB; color:#065894; padding:2px 0 2px 5px; border-top:1px solid #C2D7E8; border-bottom:3px solid #0E6AAB;}
.footer { padding:2px 0 2px 5px; color:#065A97; background:url(images/bg_footer.jpg) repeat-x #E4F1FA; height:30px;}
</style>
<title>宝酷网欢迎您登录</title>
</head>
<body>
<div class="logo"><img src="images/logo.gif" alt="宝酷网" /></div>
<div class="login_nav">—宝酷网欢迎您注册！—</div>
<div class="err"><img src="images/icon_err.gif" alt="" width="13" height="13" />
<% if (msg == 0) {out.print("请勿尝试输入非法字符,");} %>
<% if (msg == 1) {out.print("用户名或密码不能为空,");} %>
<% if (msg == 2) {out.print("对不起！您注册失败，可能是您的用户名已经被使用,");} %>
<% if (msg == 3) {out.print("对不起,请输入4-12位的用户名");} %>
<% if (msg == 4) {out.print("对不起,请输入6-12位的密码");} %>
<a href="reg.jsp">请返回重新注册</a>。</div>
<div class="inner_help"><a href="#">在线帮助</a>.<a href="#">关于我们</a></div>
<div class="footer">copyright</div>
</body>
</html>
